package com.zlkj.pro.modular.api.model.vo;

import cn.stylefeng.roses.kernel.scanner.api.annotation.field.ChineseDescription;
import com.zlkj.pro.core.annotation.FilePrefix;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 孙铭泽
 * @date 2022/8/31
 * @time 16:53
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ResourcesVO implements Serializable {
    /**
     * 主键
     */
    @ChineseDescription("主键")
    private Long id;

    /**
     * 标题
     */
    @ChineseDescription("标题")
    private String title;

    /**
     * 唯一标识，大写
     */
    @ChineseDescription("唯一标识，大写")
    private String identifies;

    /**
     * 封面
     */
    @FilePrefix
    @ChineseDescription("封面")
    private String cover;

    /**
     * 内容
     */
    @ChineseDescription("内容")
    private String content;
}
